<?php
/**
 * Created by PhpStorm.
 * Author: Sojo
 * Date: 2017/2/16
 * Time: 19:33
 */
namespace App\Api\Service\Routes;

use Dingo\Api\Routing\Router;

class OSSRoute
{
    public function map(Router $router)
    {
        $router->group(['namespace' => 'OSS\Controllers', 'prefix' => 'oss'], function ($router) {
            $router->post('upload-file', 'AliyunController@uploadFileByKindEditor');
        });
    }
}